{assign name="field" value=":sp_column(56)"}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{$field['column_title']} - {$site_title}</title>
    <meta name="keywords" content="{$field['column_keywords']}">
    <meta name="description" content="{$field['column_description']}">
</head>
<body>
    {include file="cn/include/header"}
    <div>
        <h2>招聘栏目图片</h2>
        {assign name="list" value=":sf_imgslist($field['column_image'])"}
        <table>
            <tr>
                {volist name="list" id="vo"}
                    <td><img src="{$vo['file_path']}" height="50"></td>
                {/volist}
            </tr>
        </table>
    </div>
    <div>
        <h2>招聘栏目内容</h2>
        {$field['column_details']|raw}
    </div>
    <div>
        <h2>招聘列表</h2>
        <?php
            $options = [
                'pageurl' => sf_url('jobs', [], true),
                'cate' => true,
                'param' => true
            ];
            $list = sp_article(56, 0, 5, $options);
        ?>
        <table border="1">
            <tr>
                <th>ID</th>
                <th>招聘岗位</th>
                <th>招聘部门</th>
                <th>招聘人员</th>
                <th>学历要求</th>
                <th>年龄要求</th>
            </tr>
        {volist name="list" id="vo"}
            <tr>
                <td>{$vo['wsarticle_id']}</td>
                <td><a href="{:sf_url('jobs', $vo)}">{$vo['wsarticle_title']}</a></td>
                <td>{$vo['wscate']['wscate_name']}</td>
                <td>{:sf_param($vo, 'param_21')}</td>
                <td>{:sf_param($vo, 'param_22')}</td>
                <td>{:sf_param($vo, 'param_23')}</td>
            </tr>
        {/volist}
        </table>
        <div class="page">
            {$list->render()|raw}
        </div>
    </div>

    
    {include file="cn/include/footer"}
</body>
</html>